From: Keir Fraser Date: Thu, 23 Apr 2009 09:10:11 +0000 (+0100) Subject: x86: Remove bogus vtd frametable range check X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~13958 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success/%22http:/www.example.com/cgi/success?a=commitdiff_plain;h=b0514069f1261fee7ee9832ddd47d741ae938370;p=xen.git x86: Remove bogus vtd frametable range check Signed-off-by: Joseph Cihula --- diff --git a/xen/arch/x86/setup.c b/xen/arch/x86/setup.c index 8f2e5eedd4..600de2a9f6 100644 --- a/xen/arch/x86/setup.c +++ b/xen/arch/x86/setup.c @@ -1119,7 +1119,7 @@ int xen_in_range(paddr_t start, paddr_t end) int i; static struct { paddr_t s, e; - } xen_regions[5]; + } xen_regions[4]; /* initialize first time */ if ( !xen_regions[0].s ) @@ -1140,10 +1140,6 @@ int xen_in_range(paddr_t start, paddr_t end) /* bss + boot allocator bitmap */ xen_regions[3].s = __pa(&__bss_start); xen_regions[3].e = allocator_bitmap_end; - /* frametable */ - xen_regions[4].s = (unsigned long)frame_table; - xen_regions[4].e = (unsigned long)frame_table + - PFN_UP(max_page * sizeof(*frame_table)); } for ( i = 0; i < ARRAY_SIZE(xen_regions); i++ )